# utils/CMakeLists.txt

# 创建 utils 库，将所有 C 和 C++ 源文件添加到库中
file(GLOB UTIL_SOURCES
    "${CMAKE_CURRENT_SOURCE_DIR}/*.c"
    "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
)

add_library(utils STATIC ${UTIL_SOURCES})

# 包含 utils 库的头文件目录
target_include_directories(utils PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}/include
)
